<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-11-05 09:52:38
         compiled from "H:\WebApplication\myconpany\sumi_mobile\application\views\user\saleorder.html" */ ?>
<?php /*%%SmartyHeaderCode:25451561c77e4940dd9-23383528%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '2406ca892724e30c13f25a657fe1fd90802b685a' => 
    array (
      0 => 'H:\\WebApplication\\myconpany\\sumi_mobile\\application\\views\\user\\saleorder.html',
      1 => 1446607429,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '25451561c77e4940dd9-23383528',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.21-dev',
  'unifunc' => 'content_561c77e4d348c0_86181232',
  'variables' => 
  array (
    'status' => 0,
    'list' => 0,
    'item' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_561c77e4d348c0_86181232')) {function content_561c77e4d348c0_86181232($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/header.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>


<!--header stop-->
<?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/common/headerusertitle.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<!--header end-->
<!--content stop-->
<section class="box-user">


    <ul class="user_s">
        <li <?php if ($_smarty_tpl->tpl_vars['status']->value=='all') {?>class="curr"<?php }?>><a href="/user/saleorder/status/all">全部</a></li>
        <li <?php if ($_smarty_tpl->tpl_vars['status']->value=='audit') {?>class="curr"<?php }?>><a href="/user/saleorder/status/audit">待确认</a></li>
        <li <?php if ($_smarty_tpl->tpl_vars['status']->value=='deal') {?>class="curr"<?php }?>><a href="/user/saleorder/status/deal">交易中</a></li>
        <li <?php if ($_smarty_tpl->tpl_vars['status']->value=='done') {?>class="curr"<?php }?>><a href="/user/saleorder/status/done">完成</a></li>
        <li <?php if ($_smarty_tpl->tpl_vars['status']->value=='cancel') {?>class="curr"<?php }?>><a href="/user/saleorder/status/cancel">取消</a></li>
    </ul>

    <ul class="qm_list">
        <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
        <li>
            <div class="qm_text">
                <p>
                    <span class="pl5p green fr"><?php echo $_smarty_tpl->tpl_vars['item']->value['status'];?>
</span>

                    <span class="pr5p"><?php echo $_smarty_tpl->tpl_vars['item']->value['cate_name'];?>
</span>
                    <span class="pr5p"><?php echo $_smarty_tpl->tpl_vars['item']->value['product_name'];?>
</span>
                    <span class="pr10p"><?php echo $_smarty_tpl->tpl_vars['item']->value['brand_name'];?>
</span>
                    <span class="pr10p gray">订单号:<?php echo $_smarty_tpl->tpl_vars['item']->value['order_key'];?>
</span>
                    <span class="pr10p orange" style="display: block;">单价:￥<?php echo $_smarty_tpl->tpl_vars['item']->value['price'];?>
/吨 　数量:<?php echo $_smarty_tpl->tpl_vars['item']->value['num'];?>
吨 </span>
                </p>
                <P class="gray">求购公司：<?php echo $_smarty_tpl->tpl_vars['item']->value['ibusiness_name'];?>
</P>
                <p class="gray">下单时间: <?php echo $_smarty_tpl->tpl_vars['item']->value['update_time'];?>
</p>
            </div>
            <a href="/user/saleorderdetail/id/<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
" class="qm_cz">详情</a>
        </li>
        <?php } ?>
    </ul>

</section>

<?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/footer.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<?php }} ?>
